package com.oocl.ha.merchant.service;

import java.util.List;

import com.oocl.ha.entity.Order;

public interface OrderManager {

	public List<Order> loadAllOrder(int mid);

	public int addOrder(Order order, int mid, int uid);

	public int updateOrderTaken(int oid,int taken);
	
	public Order findOrderById(int oid);
	
	public List<Order> findOrderByUid(int uid);
	
	public List<Order> findNotTakenOrders(int mId);
	
	public List<Integer> findNotTakensOid(int mId);
	
	public Order loadOrder(int oId);
	
	public List<Order> findHistoryOrder(int mId);

	public List<Order> findTakenOrders(int mId);
	
	public List<Order> findOrderDoNotTake(int mId); 
}
